home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / tls / tls036.1.Z / tls036.1 / usr / lib / scosmt / README.sample / README.sample
Encoding:
Text File  |  1992-09-15  |  4.4 KB  |  104 lines

  1. #
  2. #       Copyright (C) 1991 The Santa Cruz Operation Inc. All Rights Reserved
  3. #       This Module contains Proprietary Information of
  4. #       The Santa Cruz Operation Inc, and should be treated as Confidential.
  5. #
  6. SAMPLES OF STANDARD PRODUCTIZATION AND THEORETICAL EXAMPLES
  7.  
  8. These samples cover some of the most basic productization functionality
  9. required by products. The following includes descriptions of CM's
  10. standard productization solutions. These samples are products that
  11. can be created by using SMT ( the software mastering toolkit )
  12.  
  13. Making samples up to and including sample9
  14.     cd <to the appropriate sample? directory>
  15.     docut <read and enter info as instructed by prompts>
  16.     THE END YOU ARE DONE
  17.  
  18. Making samples at and above sample10
  19.     These samples demonstrate the standard build structure conventions.
  20.     cd <to the appropriate sample?? directory>
  21.     ./mksource
  22.     docut <read and enter info as instructed by prompts>
  23.     THE END YOU ARE DONE
  24.  
  25. sample1    Simple Products
  26.     Demonstrates the use of prep, init and rmv scripts.
  27.  
  28. sample2    Distribution Files I Do Not Want to Extract or Associate With
  29.     At prep script time I find that I have files in my products
  30.     distribution that I do not want to be associated with the
  31.     installed product. I do not want these files extracted or
  32.     to be associated with my product at or after install time.
  33.     Example: My permslist has files for the xenix link-kit.
  34.         At prep script time I notice that the system I'm
  35.         installing on is unix, not xenix. I would need to 
  36.         take action on the xenix link-kit files.
  37.  
  38. sample3    Products with Man Pages
  39.     Product has man pages that need to be placed and configured.
  40.  
  41. sample4    Check Pre-Install Conditions
  42.     Product needs to check for dependencies, environment states
  43.     to see if it is ok to install.
  44.         
  45. sample5    Files I Need to Backup 
  46.     Generally you should never overwrite any existing files on a
  47.     system without making arrangements for the possible restoration
  48.     of those files. The most critical files are operating system files
  49.     used for runtime execution and configuration. Any other file
  50.     may be a dependency for some other program that you may destroy
  51.     by overwriting.
  52.  
  53. sample6    Distribution Files I Do Not Want to Extract
  54.     There are files on my distribution but for whatever
  55.     reason I do not want this extracted. I must prohibit
  56.     custom from including them in its extraction list.        
  57.     I want the product to associate with these files after
  58.     installation.
  59.  
  60. sample10    UNIX device driver installation
  61.     Install a unix driver and return the system to
  62.     its previous state when the product is removed
  63.  
  64. sample11    Installing compressed on a non-compress system
  65.     This sample demonstrates how to cope with installing a compressed
  66.     product (96dshd_c or 135dshd_c media types) on a system which does
  67.     not have a tar program which can handle the automatic uncompression
  68.     of files from a SCO compressed tar distribution.  The function fixtar
  69.     is used in the prep script to replace the existing tar program
  70.     with a newer version of tar if necessary (fixtar tests first, and
  71.     does not replace the existing tar if it can handle compression).
  72.     The old tar is backed-up under /usr/lib/custom/$PRDVALUE/backup.  
  73.     The rmv script uses restorefiles to restore the old tar, along with
  74.     any other files backed-up, when the product is removed.
  75.  
  76.  
  77. CONFIG    Products that Execute System Configuration
  78.     NOT IMPLEMENTED AT THIS TIME
  79.     Any action that modifies the systems state. Some examples:
  80.     Adjust Kernel Parameters    Relink Kernel
  81.     Remove/Add/Modify Drivers       
  82.     Change System Name        Rebuild mmdf database
  83.     Create/Remove product account    Add/Remove devices
  84.     Adding/Remove rc scripts    Modifying sys/config files
  85.     Adding/Remove drivers        Reserialize files
  86.     Create/Remove product passwd    Add/Remove icons to desktop
  87.     Add/Remove printers        Remove mail configuration entries
  88.     Modify trusted database        
  89.     The preferred method for system configuration is through the
  90.     use of existing system configuration utilities.
  91.     System configuration should modify files as opposed to
  92.     replacing them. This area poses problem in that there are no
  93.     approved utilities for much of the system configuration that
  94.     products need to do.
  95.  
  96. PLATFRM    Different Distribution Sets for Different Platforms
  97.     You have two sets of files, say one for MC and another 
  98.     for GT. They both have the same paths but only one will
  99.     be installed since the system must be MC or GT.
  100.     You must have both sets in separate directories under
  101.     tmp. The combination of the sets should have stubs in the
  102.     root file system.
  103.  
  104.